Hamilton's method